#include <stdio.h>

int main()
{
    int n, time;
    scanf("%d", &n);

    time = 4 * (n / 12) + 2;;
    printf("%d", time);
    return 0;
}

int main()
{
    printf("%d", printf("Hello world!\n") - 1);
    return 0;
}

int main() {
    int a, b, c;
    while (scanf("%d %d %d", &a, &b, &c) == 3)
    {
        if (a + b > c && a - b < c) {
            if (a == b && a == c)
                printf("Equilateral triangle!\n");
            else if (a == b || a == c || b == c)
                printf("Isosceles triangle!\n");
            else
                printf("Ordinary triangle!\n");
        }
        else
        {
            printf("Not a triangle!\n");
        }
    }
    return 0;
}

#include <stdio.h>
#include <math.h>

int main()
{
    double BMI, kg, cm;
    scanf("%lf %lf", &kg, &cm);
    BMI = kg / pow((cm / 100), 2);
    printf("%.2lf", BMI);
    return 0;
}

int max(int a, int b);
int main()
{
    int a, b;
    a = 10, b = 20;
    printf("%d", max(a, b));
}

int max(int a, int b)
{
    return a > b ? a : b;
}